package cn.com.inossem.model;

import java.util.Calendar;

public class DatePicjerInfo {
	public int year = 1985;
	public int month = 7;
	public int dayofmonth = 23;

	public DatePicjerInfo() {

		Calendar cal = Calendar.getInstance();
		year = cal.get(Calendar.YEAR);
		month = cal.get(Calendar.MONTH);
		dayofmonth = cal.get(Calendar.DATE);
	}

	public void updateDate(int year, int month, int dayofmonth) {
		this.year = year;
		this.month = month;
		this.dayofmonth = dayofmonth;
	}

	public int getYear() {
		return year;
	}

	public int getMonth() {
		return month;
	}

	public int getDayofmonth() {
		return dayofmonth;
	}

}
